1. 18 Jan, 2022 2 commits
  2. 17 Jan, 2022 1 commit
    • Wojciech Zabołotny's avatar
      Correction in the "wb_block.py" that fixes the issue 64 ( https://github.com/wzab/agwb/issues/64 ). · 5413fc8a
      Wojciech Zabołotny authored
      The problem was that for vectors of registers with length 1 were considered to be single registers
      (it was the very old approach). The "force_vec" attribute was ignored.
      
      For example in the "test" demo project, change of the block1.xml:
        <creg name="X2" stb="1" reps="1">
          <field name="B1" width="1" desc="Start the operation" trigger="1" />
          <field name="B2" width="1" desc="Start the operation" default="0" />
          <field name="B3" width="1" desc="Start the operation" trigger="1" />....
        </creg>
      
      causes the following error in GHDL compilation:
      
      ghdl -a -g --work=general_cores -C  --std=93c --ieee=standard general-cores/modules/wishbone/wb_register/xwb_register.vhd
      ghdl -a -g --work=agwb -C  --std=93c --ieee=standard gen/agwb_pkg.vhd
      ghdl -a -g --work=agwb -C  --std=93c --ieee=standard gen/MAIN_const_pkg.vhd
      ghdl -a -g --work=agwb -C  --std=93c --ieee=standard gen/SYS1_pkg.vhd
      ghdl -a -g --work=agwb -C  --std=93c --ieee=standard gen/SYS1.vhd
      gen/SYS1.vhd:44:60:error: can't match function call with type array type "ut_x2_array"
        signal int_X2_o : ut_X2_array(g_X2_size - 1 downto 0) := to_X2(std_logic_vector(to_unsigned(0,3))); -- Hex value: 0x0
                                                                 ^
      gen/SYS1.vhd:122:21:error: can't match function call with type array type "ut_x2_array"
              int_X2_o <= to_X2(std_logic_vector(to_unsigned(0,3))); -- Hex value: 0x0
                          ^
      ghdl:error: compilation error
      
      Similarly introduction of the vector of registers with length 1  with strobe or ack in demo "test_ao" results in the similar error.
      
      This modification fixes the above problems.
      5413fc8a
  3. 06 Nov, 2021 3 commits
  4. 27 Sep, 2021 1 commit
  5. 05 Sep, 2021 3 commits
  6. 26 Aug, 2021 1 commit
  7. 23 Aug, 2021 1 commit
  8. 15 Aug, 2021 1 commit
  9. 13 Aug, 2021 2 commits
  10. 27 Jun, 2021 1 commit
  11. 26 Jun, 2021 2 commits
  12. 22 Jun, 2021 1 commit
  13. 16 Jun, 2021 1 commit
  14. 03 Jun, 2021 2 commits
  15. 27 May, 2021 1 commit
  16. 09 May, 2021 2 commits
  17. 28 Mar, 2021 1 commit
  18. 14 Mar, 2021 1 commit
  19. 10 Mar, 2021 1 commit
  20. 09 Mar, 2021 1 commit
  21. 05 Mar, 2021 1 commit
  22. 02 Mar, 2021 1 commit
  23. 01 Mar, 2021 2 commits
  24. 21 Feb, 2021 5 commits
  25. 19 Feb, 2021 2 commits