Lokesh Waran
Junior Member level 1
- Joined
- Sep 18, 2013
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 168
Dear friends ,
I want to store some data in to the CPLD -XC9572 Series device as non volatile information for the purpose of read that data when i need to receive that bits .Bec in my knowledge CPLD is the EPROM Technology basis ,So any one can clarify this doubt ??????????????????????????????? i am tried to store the data using verilog HDL coding below but the data which i have written in to the device is lost after switch of the device power sourse. thanking you for your information if u post answer for this drawback.
I want to store some data in to the CPLD -XC9572 Series device as non volatile information for the purpose of read that data when i need to receive that bits .Bec in my knowledge CPLD is the EPROM Technology basis ,So any one can clarify this doubt ??????????????????????????????? i am tried to store the data using verilog HDL coding below but the data which i have written in to the device is lost after switch of the device power sourse. thanking you for your information if u post answer for this drawback.
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 module eeprom ( address , // Address input data , // Data output read_en , // Read Enable ce , // Chip Enable oe , out , write_en ); input [2:0] address; input [2:0] data; output out; input read_en; input write_en; input ce; input oe; reg [2:0] mem [0:6] ; reg out=0 ; always @( read_en or ce or write_en or oe or address or data) begin if ( ce && write_en) mem[address]<= data; if (oe && read_en) out <= mem [address]; end endmodule
Last edited by a moderator: