mirror of https://github.com/YosysHQ/yosys.git
greenpak4: added model for GP_EDGEDET block
This commit is contained in:
parent
2effa497a3
commit
a818472f0c
|
@ -241,6 +241,16 @@ module GP_DFFSRI(input D, CLK, nSR, output reg nQ);
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
module GP_EDGEDET(input IN, output reg OUT);
|
||||||
|
|
||||||
|
parameter EDGE_DIRECTION = "RISING";
|
||||||
|
parameter DELAY_STEPS = 1;
|
||||||
|
parameter GLITCH_FILTER = 0;
|
||||||
|
|
||||||
|
//not implemented for simulation
|
||||||
|
|
||||||
|
endmodule
|
||||||
|
|
||||||
module GP_IBUF(input IN, output OUT);
|
module GP_IBUF(input IN, output OUT);
|
||||||
assign OUT = IN;
|
assign OUT = IN;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue