some rtl changes

- remove unused port in chip_io
- move the rest of chip_io power ports to the USE_POWER_PINS guard
- add caravel_power_routing cell guarded by TOP_ROUTING ifdef
This commit is contained in:
kareem 2022-10-10 05:13:48 -07:00
parent 11620eb224
commit 71e309a923
2 changed files with 18 additions and 19 deletions

View File

@ -196,7 +196,6 @@ module caravel (
// Flash SPI communication (management SoC to housekeeping)
wire flash_clk_core, flash_csb_core;
wire flash_clk_oeb_core, flash_csb_oeb_core;
wire flash_clk_ieb_core, flash_csb_ieb_core;
wire flash_io0_oeb_core, flash_io1_oeb_core;
wire flash_io2_oeb_core, flash_io3_oeb_core;
wire flash_io0_ieb_core, flash_io1_ieb_core;
@ -237,8 +236,6 @@ module caravel (
.vccd2_pad (vccd2), // User area 2 1.8V supply
.vssd1_pad (vssd1), // User area 1 digital ground
.vssd2_pad (vssd2), // User area 2 digital ground
`endif
// Core Side Pins
.vddio (vddio_core),
.vssio (vssio_core),
.vdda (vdda_core),
@ -253,6 +250,8 @@ module caravel (
.vccd2 (vccd2_core),
.vssd1 (vssd1_core),
.vssd2 (vssd2_core),
`endif
// Core Side Pins
.gpio(gpio),
.mprj_io(mprj_io),
.clock(clock),
@ -278,8 +277,6 @@ module caravel (
.flash_clk_oeb_core(flash_clk_oeb),
.flash_io0_oeb_core(flash_io0_oeb),
.flash_io1_oeb_core(flash_io1_oeb),
.flash_csb_ieb_core(flash_csb_ieb),
.flash_clk_ieb_core(flash_clk_ieb),
.flash_io0_ieb_core(flash_io0_ieb),
.flash_io1_ieb_core(flash_io1_ieb),
.flash_io0_do_core(flash_io0_do),
@ -1503,5 +1500,9 @@ module caravel (
.spare_xfqn(spare_xfqn_nc)
);
`ifdef TOP_ROUTING
caravel_power_routing caravel_power_routing();
`endif
endmodule
// `default_nettype wire

View File

@ -75,8 +75,6 @@ module chip_io(
input flash_clk_oeb_core,
input flash_io0_oeb_core,
input flash_io1_oeb_core,
input flash_csb_ieb_core, // NOTE: unused, fix me!
input flash_clk_ieb_core, // NOTE: unused, fix me!
input flash_io0_ieb_core,
input flash_io1_ieb_core,
input flash_io0_do_core,