Just name the testbench: testbench; don't add the unique
authorChristiaan Baaij <christiaan.baaij@gmail.com>
Tue, 18 Aug 2009 12:55:04 +0000 (14:55 +0200)
committerChristiaan Baaij <christiaan.baaij@gmail.com>
Tue, 18 Aug 2009 12:55:04 +0000 (14:55 +0200)
cλash/CLasH/VHDL/Testbench.hs

index 84f550aaf7da15fcaef1cd9cc7a508845a9eecc3..bc23262c09b05c31efacd6f4a41f41235dadedea 100644 (file)
@@ -52,7 +52,7 @@ createTestbenchEntity ::
   -> Entity
 createTestbenchEntity bndr = entity
   where
-    vhdl_id = mkVHDLBasicId $ varToString bndr
+    vhdl_id = mkVHDLBasicId "testbench"
     -- Create an AST entity declaration with no ports
     ent_decl = AST.EntityDec vhdl_id []
     -- Create a signature with no input and no output ports