diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-01-16 18:03:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 18:03:49 +0100 |
commit | edef5d246527a442c8c8025e89b6d9da06276d2d (patch) | |
tree | 3d67bf462292e3c0c75c308e662b84f22af7c318 /icefuzz/tests/sb_io_i3c.v | |
parent | bca8c3c88f5707213a6cc55ec7b06b576ab98809 (diff) | |
parent | 99857b1505fa6c651ad9cd4177d8fc68d3e3851c (diff) | |
download | icestorm-edef5d246527a442c8c8025e89b6d9da06276d2d.tar.gz icestorm-edef5d246527a442c8c8025e89b6d9da06276d2d.tar.bz2 icestorm-edef5d246527a442c8c8025e89b6d9da06276d2d.zip |
Merge pull request #116 from daveshah1/up5k_misc_fixes
Miscellaneous UltraPlus fixes and improvements
Diffstat (limited to 'icefuzz/tests/sb_io_i3c.v')
-rw-r--r-- | icefuzz/tests/sb_io_i3c.v | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/icefuzz/tests/sb_io_i3c.v b/icefuzz/tests/sb_io_i3c.v new file mode 100644 index 0000000..5237283 --- /dev/null +++ b/icefuzz/tests/sb_io_i3c.v @@ -0,0 +1,35 @@ + +module top ( + inout pin_23, + inout pin_25, + input pin_23_puen, + input pin_23_wkpuen, + input pin_25_puen, + input pin_25_wkpuen); + + (* PULLUP_RESISTOR = "3P3K" *) + SB_IO_I3C #( + .PIN_TYPE(6'b000001), + .PULLUP(1'b1), + .WEAK_PULLUP(1'b1), + + .NEG_TRIGGER(1'b0) + ) IO_PIN_0 ( + .PACKAGE_PIN(pin_23), + .PU_ENB(pin_23_puen), + .WEAK_PU_ENB(pin_23_wkpuen) + ) ; + + (* PULLUP_RESISTOR = "3P3K" *) + SB_IO_I3C #( + .PIN_TYPE(6'b000001), + .PULLUP(1'b1), + .WEAK_PULLUP(1'b1), + + .NEG_TRIGGER(1'b0) + ) IO_PIN_1 ( + .PACKAGE_PIN(pin_25), + .PU_ENB(pin_25_puen), + .WEAK_PU_ENB(pin_25_wkpuen) + ); +endmodule |