|  
    
Voici le code. 
  
 ```vhdl  
 -- Code VHDL pour une porte NOR  
  
 -- Définir l'entité  
 l'entité NOR_gate est  
 port (  
 A, B :dans std_logic ;  
 Y : out std_logic  
 );  
 terminer NOR_gate ;  
  
 -- Définir l'architecture  
 L'architecture comportementale de NOR_gate est  
 commencer  
 Y <=non (A ou B) ;  
 fin comportementale ;  
 ```
 
 |