You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
909 B

  1. architecture test of instance is
  2. begin
  3. a: foo;
  4. b: entity work.foo;
  5. b1: entity work.foo(goo);
  6. c: configuration work.bar;
  7. d: component foo;
  8. e: entity work.foo
  9. port map ( a, b, c );
  10. f: entity work.foo
  11. port map ( a, b, x => c );
  12. g: entity work.foo
  13. generic map ( X => 1 )
  14. port map ( a, b );
  15. h: entity work.foo
  16. port map ( a => open );
  17. i: foo port map ( x );
  18. UUT : ENTITY work.csa_adder
  19. PORT MAP(
  20. osum => sum,
  21. ocarry => carry
  22. );
  23. UUT_S : ENTITY work.csa_adder
  24. PORT MAP(
  25. osum => sums,
  26. ocarry => carrys
  27. );
  28. end architecture;
  29. ARCHITECTURE test3 OF test IS
  30. COMPONENT comp IS PORT (a : BOOLEAN);
  31. END COMPONENT;
  32. SIGNAL s_ok : BOOLEAN;
  33. BEGIN
  34. comp PORT MAP(a => s_ok); -- unlabeled component instantiation
  35. END ARCHITECTURE;