Forum Discussion
Altera_Forum
Honored Contributor
16 years agonios top level ...
`define flash_word // use word mode of flash `ifdef flash_word wire flash_16bit_ip_a0; assign oflash_byte_n = 1'b1; // flash word mode configuration `else...
Altera_Forum
Honored Contributor
16 years agoIt tests to see if the compile-time macro "FLASH_WORD" is defined. If so, it sets the signal "oFLASH_BYTE_N" to 1 otherwise it sets "oFLASH_BYTE_N" to 0. Clearly what this is doing is selecting between 8-bit and 16-bit mode on an external flash device.
Jake