mirror of https://github.com/YosysHQ/yosys.git
set undriven pads to zero
This commit is contained in:
parent
d65a47c86d
commit
ae93c034ad
|
@ -1,7 +1,7 @@
|
|||
module demo (
|
||||
input clk,
|
||||
output [15:0] leds
|
||||
//,output unused
|
||||
output [15:0] leds,
|
||||
output unused
|
||||
);
|
||||
localparam PRESCALE = 20;
|
||||
reg [PRESCALE+3:0] counter = 0;
|
||||
|
|
|
@ -210,6 +210,7 @@ struct SynthGowinPass : public ScriptPass
|
|||
if (check_label("map_cells"))
|
||||
{
|
||||
run("techmap -map +/gowin/cells_map.v");
|
||||
run("setundef -undriven -zero");
|
||||
run("hilomap -hicell VCC V -locell GND G");
|
||||
run("iopadmap -bits -inpad IBUF O:I -outpad OBUF I:O", "(unless -noiopads)");
|
||||
run("dffinit -ff DFF Q INIT");
|
||||
|
|
Loading…
Reference in New Issue