Hi, I have the following records:
type busCtrlRecord is record
address:unsigned(7 downto 0);
info:unsigned(31 downto 0);
end record busCtrlRecord;
And signal declarations that use this record like this:
signal request,next_request:busCtrlRecord:=((others=>'0'),(others=>'0'));
Comparing the records using the "=" operator will throw me an error:
Sorry, unimplemented builtin: RECORD_EQUALS
Similarly, if I compare with "/=", i will get this error:
Sorry, unimplemented builtin: RECORD_NEQUALS
I did the comparison inside a process like the following:
process(request,next_request,clk) is begin
if next_request/=request then cnt<=0;
elsif rising_edge(clk) then
...
end if;
end process;
Please support comparing records. For now, I have to make do with something like this:
if next_request.address/=request.address and next_request.info/=request.info then cnt<=0;
which is not very neat.