3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-10 21:20:53 +00:00

ecp5: Add GSR support

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2019-08-27 13:07:06 +01:00
parent fdbcf78909
commit fc001b4731
6 changed files with 202 additions and 44 deletions

View file

@ -664,3 +664,23 @@ module PCSCLKDIV (
);
parameter GSR = "DISABLED";
endmodule
// Note: this module is not marked keep as we want it swept away in synth (sim use only)
(* blackbox *)
module PUR (
input PUR
);
parameter RST_PULSE = 1;
endmodule
(* blackbox, keep *)
module GSR (
input GSR
);
endmodule
(* blackbox, keep *)
module SGSR (
input GSR, CLK
);
endmodule