Accessing using PSoC Verilog

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PrateekKumar
Level 2
Level 2
50 sign-ins 25 sign-ins 10 replies posted

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_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

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
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

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