The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> array initialization in Verilog https://designers-guide.org/forum/YaBB.pl?num=1164815141 Message started by Pavel on Nov 29th, 2006, 7:45am |
Title: array initialization in Verilog Post by Pavel on Nov 29th, 2006, 7:45am Hello For my test bench I need in 8-member array of 11-bit constants. Only approach I found working is: Code:
Is there a possibility to avoid using construction initial? Regards. Pavel. |
Title: Re: array initialization in Verilog Post by jbdavid on Dec 8th, 2006, 11:20pm of course, you can define the values in a text file and do readmemh but its still probably in the inital block.. any verilog text book will have other ways of doing this.. Jonathan |
Title: Re: array initialization in Verilog Post by Ken Kundert on Dec 9th, 2006, 10:03am Why do you want to avoid using initial? -Ken |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |