Initial commit
This commit is contained in:
		
							
								
								
									
										21
									
								
								Libs/NanoBlaze/hdl/rom_empty.vhd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								Libs/NanoBlaze/hdl/rom_empty.vhd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| ARCHITECTURE empty OF programRom IS | ||||
|  | ||||
|   subtype memoryWordType is std_ulogic_vector(dataOut'range); | ||||
|   type memoryArrayType is array (0 to 2**address'length-1) of memoryWordType; | ||||
|  | ||||
|   signal memoryArray : memoryArrayType := ( | ||||
|     others => (others => '0') | ||||
|   ); | ||||
|  | ||||
| BEGIN | ||||
|  | ||||
|   process (clock) | ||||
|   begin | ||||
|     if rising_edge(clock) then | ||||
|       if en = '1' then | ||||
|         dataOut <= (others => '0'); | ||||
|       end if; | ||||
|     end if; | ||||
|   end process; | ||||
|  | ||||
| END ARCHITECTURE empty; | ||||
		Reference in New Issue
	
	Block a user