sigasi / sigasiprojectcreator Goto Github PK
View Code? Open in Web Editor NEWPython scripts that help generating custom Sigasi Project and Libary configuration files
License: BSD 3-Clause "New" or "Revised" License
Python scripts that help generating custom Sigasi Project and Libary configuration files
License: BSD 3-Clause "New" or "Revised" License
The filelist input (ProjectFileParser.py
) uses options.worklib
, that should be options.work_lib
.
While implementing .f
support, it turned out that placing Python scripts inside Python modules is not recommended. We should investigate, and probably:
convert...
scripts one level up in the directory treePYTHONPATH
Or if that is not the preferred solution, at least put all convert...
scripts in the same directory and ensure that the lower two bullets are met.
Hi,
I'm currently trying to set up a custom project (template) with the SigasiProjectCreator. However, it is required to hand over the input_file argument even though I want to create a new project from scratch.
Is it even possible to call createSigasiProject.py without an input file?
Thanks in advance for your answers/help.
Best regards
Marcel
Hello,
I am missing some documentation. I am using convertCsvFileToLinks.py and it will create a nice Sigasi project, however I always have to manually right-click the UNISIM library in the Sigasi source window and tell it to configure UNISIM from Vivado. Is there a way to do this from the .csv file or with an argument to convertCsvFileToLinks.py?
Please can you add VUnit Support to the SigasiProjectCreator
Module optparse
has been deprecated since Python 3.2. Time to switch to argparse
.
The README and also the linked examples for generating a Sigasi project from a Vivado project seems to be outdated. Mentioned files like "convertCsvFileToTree.py" don't exist in the repository anymore.
The csv import is currently limited to design files only. We want to extend that:
include
, interpret the 2nd column of the same line(s) as (an) include path(s)define
, interpret the 2nd column of the same line(s) as (a) define(s)The library mapping for unisim generated by SigasiProjectCreator.py is
self.add_mapping("Common Libraries/unisim", "unisim")
self.unmap("Common Libraries/unisim/primitive")
self.unmap("Common Libraries/unisim/secureip")
This adds multiple versions of the VCOMP package to the unisim library which leads to duplicates so that the components can't be found in the design files.
The library mapping should add just the unisim_VPKG.vhd file and exactly one of the *_VCOMP.vhd files to the unisim library.
reference: http://insights.sigasi.com/tech/vivado-unisim.html
We want to add support to map files to more than one library when importing a project from a .f file. For each additional library, we should add a linked file to the original file, and map the linked file to the additional library.
Minor bug, but I thought I would report it anyway:
The python tests fail during test_parse_and_create_project()
in tests/ProjectCreatorTest.py
, probably due to a hardcoded path in line 444:
/home/wmeeus/git/SigasiProjectCreator_github/uvm/src
EDA tools may take a list of command line options from a file. Typically, -f <options_file>
is used to specify the file, and the options file has a .f
extension. In their simplest form, .f
files contain a list of design files, but other command line options may be present as well.
The goal is to use .f files to create a Sigasi project.
Hello Hendrik,
I'm planning to integrate a new feature into PoC. I want to manipulate vendor tool project files. Ideally, the user can select an IP core from PoC and our Python program will add all required files to the vendor tools project file. Sigasi could be a first starting point, because it provides an existing Python interface. For other tools we have to implement and control interactive Tcl sessions :(.
Can your library also edit existing project files?
Another maybe related question:
Does Sigasi support package managers or other third party IP core catalogs?
Kind regards
Patrick Lehmann
Absolute PATHs in linked files in .project
should start with <locationURI>file:///
rather than <location>
Remaining issue from #25 :
convertCsvFileToLinks.py
and convertCsvFileToTree.py
to make VUnit configuration optionalImport a project from a .f
file, using a virtual folder per library, and linking each file into the appropriate library. Library mapping based on the virtual folders, not files.
The mentioned link (http://www.sigasi.com/content/setting-project) in the README.md is not working. Maybe this one should be corrected or the information provided by requested page should be part of the README file.
We want an option to configure UVM as part of a project. The path to UVM can be given either on the command line or through UVM_HOME
. A second option indicates in which library uvm_pkg
must be compiled.
To this end:
--uvm[=<path>]
: the presence of --uvm
tells the project creator to set up UVM, the path to UVM can be added. If the path is not added on the command line, it will be read from UVM_HOME
--uvm_lib=<library>
: map the UVM package to this library. If this option is not present, library work
is assumed.Common Libraries
uvm_pkg.sv
must be mapped to the desired libraryAdd missing features for importing Open Hardware Group's risc-v-verif designs/testbenches.
When converting a Vivado project to a csv file, only VHDL and Verilog (.v) files are listed but no SystemVerilog (.sv) files. SV files also should be listed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.