Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start ---
input RxStreamData0;
reg ReqInFifoDataIn;
always @(posedge AppClk or negedge PcieRstN)
if (!PcieRstN)
begin
ReqInFifoDataIn <= 96'b0; ReqInFifoDataValid <= 1'b0;
ReqInFifoDataVal <= 1'b0;
end
else
begin
ReqInFifoDataIn <= RxStreamData0;
ReqInFifoDataValid <= RxStreamValid0;
ReqInFifoDataVal <= ReqInFifoRd;
end
wire wTag;
assign wTag = RxStreamData0 & ~ReqInFifoDataIn; --- Quote End --- Hi, the reason could be your reset initialization. You are trying to set 96 bit to "0", but your reg vector is only " reg [81:0] ReqInFifoDataIn;" Kind regards GPK