Add dedicated SPI mode option to i2c_opencores.

This commit is contained in:
marqs committed 2016-11-05 15:39:36 +02:00
1 parent d8d7950268
commit d548d53272
9 files changed
+681 -673

No files matched your search

+2 -1
View File
@@ -79,6 +79,7 @@ module i2c_master_top(
// parameters
parameter ARST_LVL = 1'b0; // asynchronous reset level
parameter dedicated_spi = 0;
//
// inputs & outputs
@@ -232,7 +233,7 @@ module i2c_master_top(
assign ien = ctr[6];
// hookup byte controller block
i2c_master_byte_ctrl byte_controller (
i2c_master_byte_ctrl #(.dedicated_spi(dedicated_spi)) byte_controller (
.clk ( wb_clk_i ),
.rst ( wb_rst_i ),
.nReset ( rst_i ),