cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

PrateekKumar
New Contributor II

Hi,

I was using the PSoC 5LP Verilog Generate when I am declaring the memory register(array of register with the command line)reg [7:0] registers[255:0] so I was creating 256 registers with width of 8, the error it's showing is:

PrateekKumar_0-1614661925845.png

that memory declaration is not supported. Any idea/approach what to do next.

Any another approach with how to write/read into registers, please give me the full detailed solution with your code, if possible.

0 Likes
2 Replies
Ekta
Moderator
Moderator

Hi @PrateekKumar 

I tried recreating your issue at my end and I was able to do so:

Ekta_1-1614846884582.png

 

From what I understand it is not possible to create an array in which each element has a certain width.

When I tried creating a single register with a width of 8 I was able to do so:

Ekta_2-1614846990754.png

 

I will check this internally and get back to you.

Best Regards

Ekta

 

 

0 Likes
odissey1
Honored Contributor II

Ekta,

I believe that the author is trying to create a digital delay line. It would be more productive if he provides full specs.

/odissey1

0 Likes