I have been looking for a storage element to implement using Verilog-a or Verilog-AMS.
Let me put it his way, how do you implement a ROM in Verilog-AMS/a? It should keep the value, right? How does Verilog-AMS do that? I haven't been abele to find a proper code for a storage element in Verilog-AMS.
This is exactly what I want
if (A) X=1;
else X=0;
Store X forever until "A" happens again. So if I dont run enable "A" again, I dont want to "X" changes even say supply power is off. I guess it is like a ROM
If it's a ROM then I'd make a vector that you can index
by the "address", and for convenience it's best to read
from a separate file and in a format that whatever you'd
generate that block of data words from, can digest.
But sounds more like a nonvolatile RAM to me, as described.
So there, just use a variable and take care with the write
condition logic.
If it's a ROM then I'd make a vector that you can index
by the "address", and for convenience it's best to read
from a separate file and in a format that whatever you'd
generate that block of data words from, can digest.
But sounds more like a nonvolatile RAM to me, as described.
So there, just use a variable and take care with the write
condition logic.
What I want to do is to save the output (1bit) and use/read it later in another circuit. I thought there should be a store function or sth like that in Verilog-a/AMS!
Yes indeed! It is similar to NVM RAM. But I didn't get your point! Can you please elaborate more on ROM part?