Parcourir la source

Fix stupid error of portmap. Order was wrong..

Jonatan Gezelius il y a 4 ans
Parent
commit
267f86252c
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      testbench/ha_tb.vhd

+ 2 - 1
testbench/ha_tb.vhd

@@ -19,7 +19,8 @@ architecture beh of ha_tb is
 begin
 begin
 
 
   --ha_instance : ha port map (q => a, w => b, e => o, r => c);
   --ha_instance : ha port map (q => a, w => b, e => o, r => c);
-  ha_instance : ha port map (q, w, e, r);
+  ha_instance : ha port map (a => q, b => w, o => e, c => r);
+  --ha_instance : ha port map (q, w, e, r);
 
 
   process is
   process is
   begin
   begin