[SOLVED] Why it cannot be read by Design Compiler? (reading takes too long/stuck)

Status
Not open for further replies.

KYLI0418

Newbie
Joined
Nov 5, 2024
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
Why does this verilog program take so long to read in Design Compiler? (It cannot be read normally for several hours)
(No errors or warning messages)
I have changed many versions but they get the same results.
Can anyone help me? QQ
Thanks!
 

Attachments

  • WR.txt
    112.4 KB · Views: 9

Solution
What's the target hardware you are trying to synthesize the code for?

A brief look reveals that the large memory blocks used in your code can't be implemented in actual RAM because you reading and writing 30 memory locations in the same clock cycle, would require a 60-port RAM. Even the largest available FPGA won't be able to implement the code. No matter in which compilation phase Design Compiler is presently stuck, it won't produce working logic.

I didn't try to understand the codes purpose. Technically, you are probably able to synthesize the intended function by performing memory access sequentially in a state machine.
What's the target hardware you are trying to synthesize the code for?

A brief look reveals that the large memory blocks used in your code can't be implemented in actual RAM because you reading and writing 30 memory locations in the same clock cycle, would require a 60-port RAM. Even the largest available FPGA won't be able to implement the code. No matter in which compilation phase Design Compiler is presently stuck, it won't produce working logic.

I didn't try to understand the codes purpose. Technically, you are probably able to synthesize the intended function by performing memory access sequentially in a state machine.
 
Solution
Here is a hint:
Code:
reg [7:0] weight_memory_high [0:269311]

This is more than 2 million flip-flops. And you have at least 2 of those.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…