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 (
|
module demo (
|
||||||
input clk,
|
input clk,
|
||||||
output [15:0] leds
|
output [15:0] leds,
|
||||||
//,output unused
|
output unused
|
||||||
);
|
);
|
||||||
localparam PRESCALE = 20;
|
localparam PRESCALE = 20;
|
||||||
reg [PRESCALE+3:0] counter = 0;
|
reg [PRESCALE+3:0] counter = 0;
|
||||||
|
|
|
@ -210,6 +210,7 @@ struct SynthGowinPass : public ScriptPass
|
||||||
if (check_label("map_cells"))
|
if (check_label("map_cells"))
|
||||||
{
|
{
|
||||||
run("techmap -map +/gowin/cells_map.v");
|
run("techmap -map +/gowin/cells_map.v");
|
||||||
|
run("setundef -undriven -zero");
|
||||||
run("hilomap -hicell VCC V -locell GND G");
|
run("hilomap -hicell VCC V -locell GND G");
|
||||||
run("iopadmap -bits -inpad IBUF O:I -outpad OBUF I:O", "(unless -noiopads)");
|
run("iopadmap -bits -inpad IBUF O:I -outpad OBUF I:O", "(unless -noiopads)");
|
||||||
run("dffinit -ff DFF Q INIT");
|
run("dffinit -ff DFF Q INIT");
|
||||||
|
|
Loading…
Reference in New Issue