Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
公告
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.
21615 讨论

VHDL constant type synthesis

Altera_Forum
名誉分销商 II
1,547 次查看

The constant type here is two-dimension data array constant which is correct when simulating in Modelsim, but is false when mearsured using oscillograph because I can't reach the inner unit of the constant from the result. 

I appreciate any suggestions.Thanks.
0 项奖励
5 回复数
Altera_Forum
名誉分销商 II
752 次查看

I'd suggest to explain your problem a bit more because I didn't understand anything.

0 项奖励
Altera_Forum
名誉分销商 II
752 次查看

Post some code so that you make more sense.

0 项奖励
Altera_Forum
名誉分销商 II
752 次查看

Like the sentence constant RAM:=("....","...",...), I need to reach any index I want when conditions meet. I realize it logically which is correct when simulating, but it went wrong when debug on board using oscillograph. The problem is I can't reach the index I want , or I can't see it in oscillograph

0 项奖励
Altera_Forum
名誉分销商 II
752 次查看

Im guessing that what you have synthesized is a ROM. You need to provide the correct address to the rom to access the internal values.

0 项奖励
Altera_Forum
名誉分销商 II
752 次查看

The constant syntax doesn't say anything about how the constant is actually implemented in your design. It may either mean a constant value that's used at compile time or involve ROM inference, when all prerequisites are met. The value would be accessible somehow in any case. "can't reach the index I want" sounds rather unclear. You should tell, what you are actually doing.

0 项奖励
回复