Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Lukas Vik
@LukasVik
First message!
Ludvig Vidlid
@ludli505_gitlab
@LukasVik: I've opened an merge request for compilation with modelsim: tsfpga/tsfpga#320
I actually had to change the register generation to use deferred constants (that is declared in one place and defined in an other). According to the internet (https://stackoverflow.com/a/29764446) a subprogram must be elaborated before it is used. New to me :)
philipsdm1
@philipsdm1

@LukasVik ,

I tried cloning the tsfpga repo into my local machine and generate the register only files using the following cmd .
"python examples/build.py --generate-registers-only"

I am seeing the following error ,
No projects matched this filter:

Is there some other imports or project setting i am missing . I ran the above cmd from tsfpga folder after cloning the repo. Any help would be appreciated . Thanks in advance
Lukas Vik
@LukasVik

Hey @philipsdm1,
That is strange, expected behavior would be e.g.

master [/home/lukas/work/repo/tsfpga]$ python3 examples/build.py --generate-registers-only
Generating registers in /home/lukas/work/repo/tsfpga/generated/registers
master [/home/lukas/work/repo/tsfpga]$

What python version are you using?
What is the output of python3 examples/build.py --list-only?

Are you absolutely sure that you ran it with the --generate-registers-only argument? Because the "No projects matched this filter" printout comes from the parallel build runner, which means that build.py proceeded to try and create or build a project. This should not happen when the --generate-registers-only flag is given. It should exit on line 112 of build.py
philipsdm1
@philipsdm1

Hi @LukasVik ,
I just cloned the repo to my downloads folder

cd to tsfpga folder and entered

python examples/build.py --generate-registers-only
No projects matched this filter:
Generating registers in /Users/userName/.pyenv/versions/3.7.9/lib/python3.7/site-packages/generated/registers

My python version is 3.7.9

What is the output of python3 examples/build.py --list-only?

$ python3 examples/build.py --list only
No projects matched this filter: only

Listed 0 builds

Ludvig Vidlid
@ludli505_gitlab

What is the output of python3 examples/build.py --list-only?

$ python3 examples/build.py --list only
No projects matched this filter: only

Listed 0 builds

@philipsdm1 you missed a dash in --list-only there ;)

Ludvig Vidlid
@ludli505_gitlab

Hi @LukasVik ,
I just cloned the repo to my downloads folder

cd to tsfpga folder and entered

python examples/build.py --generate-registers-only
No projects matched this filter:
Generating registers in /Users/userName/.pyenv/versions/3.7.9/lib/python3.7/site-packages/generated/registers

My python version is 3.7.9

Is it possible that there is an invisible character somewhere? I get the same result as you if I add an invisible character at the end of the line:

ludde@VivadoSlachter:~/work/repo/tsfpga$ python3 examples/build.py --generate-registers-only ㅤ
No projects matched this filter:Generating registers in /home/ludde/work/repo/tsfpga/generated/registers
Lukas Vik
@LukasVik
Hello @philipsdm1 ,
I have looked into it now and made some fixes.
The fact that you get printouts related to /Users/userName/.pyenv/versions/3.7.9/lib/python3.7/site-packages/ indicates to me that you have the tsfpga package installed via pip as well, apart from the repo checkout. This is not illegal in any way, though a little bit unusual. The examples scripts in the repo could not handle this due to the way we handled PYTHONPATH. This if fixed in tsfpga/tsfpga@461dc10
Additionally this illustrated that there were files missing from the pip release. Namely the module_*.py that defines the example build projects, as well as many other files. I have fixed that in tsfpga/tsfpga@ffb483f
A new release version will be published as soon as CI passes.
Lukas Vik
@LukasVik
tsfpga v8.0.0 is now released!! :tada: :fireworks:
https://pypi.org/project/tsfpga/
https://tsfpga.com/release_notes.html
philipsdm1
@philipsdm1

@Lukas and thanks for checking , i knew i might be missing , may be i should i have tried "repo checkout " .
@ludli505_gitlab , sorry for the typo

I will try on the latest release and update my findings .

philipsdm1
@philipsdm1
@LukasVik , worked like a charm :).
Lukas Vik
@LukasVik
@philipsdm1 Great. I hope you find the tool useful!
Lukas Vik
@LukasVik
tsfpga v9.0.0 is now released!! :tada: :fireworks:
https://pypi.org/project/tsfpga/
https://tsfpga.com/release_notes.html
Lukas Vik
@LukasVik
There has been a discussion about splitting the tsfpga project here: tsfpga/tsfpga#57
With the latest tsfpga release, the VHDL modules are now split out to the standalone project hdl_modules: https://hdl-modules.com/ https://gitlab.com/tsfpga/hdl_modules/
Note that the modules are still bundled with each PyPI release of tsfpga.
tsfpga v10.0.0 is now released!! :tada: :fireworks:
https://pypi.org/project/tsfpga/
https://tsfpga.com/release_notes.html
hdl_modules v1.0.0 is now released!! :tada: :fireworks:
https://hdl-modules.com/release_notes.html
Lukas Vik
@LukasVik
The second part of the tsfpga project split is now done. With the latest tsfpga release, the tsfpga.registers package is now split out to the standalone project hdl_registers:
https://hdl-modules.com/
https://gitlab.com/tsfpga/hdl_modules/
Note that the tsfpga PyPI package depends on hdl_registers, so if you install tsfpga via pip the change is transparent.
tsfpga v11.0.0 is now released!! :tada: :fireworks:
https://pypi.org/project/tsfpga/
https://tsfpga.com/release_notes.html
hdl_registers v2.0.1 is now released!! :tada: :fireworks:
https://pypi.org/project/hdl-registers/
https://hdl-registers.com/release_notes.html
Lukas Vik
@LukasVik
hdl_registers v2.1.0 is now released!! :tada: :fireworks:
https://pypi.org/project/hdl-registers/
https://hdl-registers.com/release_notes.html