mirror of
				https://github.com/Klagarge/Cursor.git
				synced 2025-10-31 14:09:17 +00:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
							
								
								
									
										19
									
								
								Libs/Gates/hdl/demux1to2_sim.vhd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								Libs/Gates/hdl/demux1to2_sim.vhd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| ARCHITECTURE sim OF demux1to2 IS | ||||
| BEGIN | ||||
|  | ||||
|   process(sel, in1) | ||||
|   begin | ||||
|     -- default values | ||||
|     out0 <= '0'; | ||||
|     out1 <= '0'; | ||||
|  | ||||
|     -- selection | ||||
|     case sel is | ||||
|       when '0' => out0 <= in1 after delay; | ||||
|       when '1' => out1 <= in1 after delay; | ||||
|       when others => NULL; | ||||
|     end case; | ||||
|  | ||||
|   end process; | ||||
|  | ||||
| END ARCHITECTURE sim; | ||||
		Reference in New Issue
	
	Block a user