Open jleightcap opened 1 year ago
Re: https://github.com/ngi-nix/ngipkgs/issues/7#issuecomment-1751202229, fasm
is a good canidate for working into a useful state.
@hansfbaier would forking fasm
into this GIthub organization as a place for active use in this toolchain, make sense?
A list of the TODOs I'm aware of to make upstreaming possible:
yosys
+abc-verifier
that works with nextpnr-xilinx
so that we don't have to use such an old package. @jleightcap believes the chances are slim of upstreaming with this requirement.nextpnr-xilinx
can be upstreamed. @jleightcap opened a PR for that here https://github.com/NixOS/nixpkgs/pull/257737
fasm
needs to be upstreamed.
fasm
into its github org and apply the changes from https://github.com/chipsalliance/fasm/pull/87, or find someone else to maintain it and apply those patches. It would probably be difficult to upstream to nixpkgs
without thisfasm
prefers to use ANTLR4
for performance. However, the ANTLR4
in nixpkgs now does not include the C++ runtime. @jleightcap has a WIP PR for packaging the ANTLR4
C++ runtime for this repo in https://github.com/openXC7/toolchain-nix/pull/9, but this would require some modification to be upstreamed.@albertchae @jleightcap I forked fasm and applied the mentioned changes: https://github.com/openXC7/fasm
@albertchae @jleightcap I used to try it to build the fasm in the openxc7 flake. Unfortunately the patches from the flake's default.nix do not apply anymore.
@albertchae @jleightcap I used to try it to build the fasm in the openxc7 flake. Unfortunately the patches from the flake's default.nix do not apply anymore.
Thanks for the report, after general Summer of Nix work wraps up I can sort out the now-obsolete AUR patches. That should be good progress towards upstreaming.
Including these packages in upstream nixpkgs comes with easier access and higher quality assurance.
Continuing discussion from https://github.com/ngi-nix/ngipkgs/issues/7#issuecomment-1748886059,
(CC @albertchae)