|

楼主 |
发表于 2010-12-23 22:49:37
|
显示全部楼层
pspice :ep2c35 资源够,5k 查找表就能把内核跑起来
ssaweee :
1 在embed_rom.v下 程序
defparam
altsyncram_component.intended_device_family = "Cyclone",
altsyncram_component.width_a = 32,
altsyncram_component.widthad_a = 9,
altsyncram_component.numwords_a = 512,
altsyncram_component.init_file = "d:/rom_3c16_tc_top_48Mhz/hxl_led.hex",
altsyncram_component.operation_mode = "ROM",
altsyncram_component.outdata_reg_a = "UNREGISTERED",
altsyncram_component.address_aclr_a = "NONE",
altsyncram_component.outdata_aclr_a = "NONE",
altsyncram_component.width_byteena_a = 1,
altsyncram_component.lpm_hint = "ENABLE_RUNTIME_MOD=NO",
altsyncram_component.lpm_type = "altsyncram";
用quartusii 将hxl_led.mif 变换成hxl_led.hex即可,同时注意路径
2) 你可以将除串口外的外设引脚改成虚引脚 |
|