Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

no failure or wainings reports for an obvious syntax error

Altera_Forum
Honored Contributor II
1,335 Views

i did not use the definition of register array ,reg [m-1:0] mem[n-1:0]; so when i assign them with original constant value with assign mem[0] = .....;then there were errors reports, and i modified the definition as :wire [m-1:0] mem[n-1:0]; i know that there is no this kind of definition at the verilog hdl syntax,but when i take a complete compilation,no error or warnings reports about this definition !so fancy,hope some helpful analysis,thks

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
663 Views

Haoask07: 

 

only post a question once... 

 

 

--- Quote Start ---  

i did not use the definition of register array ,reg [m-1:0] mem[n-1:0]; so when i assign them with original constant value with assign mem[0] = .....;then there were errors reports, and i modified the definition as :wire [m-1:0] mem[n-1:0]; i know that there is no this kind of definition at the verilog hdl syntax,but when i take a complete compilation,no error or warnings reports about this definition !so fancy,hope some helpful analysis,thks 

--- Quote End ---  

0 Kudos
Reply