mirror of
				https://github.com/Klagarge/Cursor.git
				synced 2025-10-30 21:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			264 B
		
	
	
	
		
			VHDL
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			264 B
		
	
	
	
		
			VHDL
		
	
	
	
	
	
| ARCHITECTURE sim OF DFFE_pre IS
 | |
| BEGIN
 | |
| 
 | |
|   process(clk, pre)
 | |
|   begin
 | |
|     if pre = '1' then
 | |
|       q <= '1' after delay;
 | |
|     elsif rising_edge(clk) then
 | |
|       if e = '1' then
 | |
|         q <= d after delay;
 | |
|       end if;
 | |
|     end if;
 | |
|   end process;
 | |
| 
 | |
| END ARCHITECTURE sim;
 | |
| 
 |