mirror of
https://github.com/marqs85/ossc
synced 2026-11-27 16:32:17 +03:00
Add dedicated SPI mode option to i2c_opencores.
This commit is contained in:
1 parent
d8d7950268
commit
d548d53272
9 files changed
+681
-673
No files matched your search
@@ -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 ),
|
||||
|
||||
Reference in new issue
Block a user