mirror of https://github.com/YosysHQ/yosys.git
Renamed module parameter
This commit is contained in:
parent
a613f171ae
commit
dee1c27a19
|
@ -278,9 +278,9 @@ endmodule
|
|||
|
||||
module GP_SHREG(input nRST, input CLK, input IN, output OUTA, output OUTB);
|
||||
|
||||
parameter OUTA_DELAY = 1;
|
||||
parameter OUTA_TAP = 1;
|
||||
parameter OUTA_INVERT = 0;
|
||||
parameter OUTB_DELAY = 1;
|
||||
parameter OUTB_TAP = 1;
|
||||
|
||||
reg[15:0] shreg = 0;
|
||||
|
||||
|
@ -294,8 +294,8 @@ module GP_SHREG(input nRST, input CLK, input IN, output OUTA, output OUTB);
|
|||
|
||||
end
|
||||
|
||||
assign OUTA = (OUTA_INVERT) ? ~shreg[OUTA_DELAY - 1] : shreg[OUTA_DELAY - 1];
|
||||
assign OUTB = shreg[OUTB_DELAY - 1];
|
||||
assign OUTA = (OUTA_INVERT) ? ~shreg[OUTA_TAP - 1] : shreg[OUTA_TAP - 1];
|
||||
assign OUTB = shreg[OUTB_TAP - 1];
|
||||
|
||||
endmodule
|
||||
|
||||
|
|
Loading…
Reference in New Issue