Comments (2)
Hello @jesseclin ,
there are multiple ways how to do it depending on what exactly you need.
- You can create a black box and exclude it from serialization to VHDL
see https://github.com/Nic30/hwtLib/blob/master/hwtLib/xilinx/primitive/dsp48e1.py#L19
You can automatically generate black-box body by inheriting from EmptyUnit https://github.com/Nic30/hwtLib/blob/master/hwtLib/examples/emptyUnitWithSpi.py#L10 - You can automatically load definition/implementation from VHDL/SV using hdlConvertor, this is advanced topic and I do not have any simple example. If you are interested maybe I can write one.
from hwt.
Hi Nic30:
We need to include some mixed-signal behavioral models in our design, and the first way you mentioned should be OK for our purpose.
However, we are still curious about the second suggestion, so please provide an example to illustrate it if possible—many thanks.
from hwt.
Related Issues (20)
- Proper tutorial - components, interfaces HOT 2
- Proper tutorial - compilation phases and serialization customizations, vendor tools integration HOT 2
- Proper tutorial - simulations/verifications HOT 2
- Prevent from dupliacation of generic/params if it shares same value HOT 1
- Proper tutorial - python project packaging and distribution, doc, visualization HOT 1
- rm relicts of interface direction discoverry logic HOT 1
- Multiple component variants for specified parameter combinations under wrapper HOT 2
- Convert interfaces to HDL as well (VHDL records, SV interface)
- Support for formal verification statements HOT 2
- IP core importing HOT 3
- Complete tests for RtlSignals generated from composed types like HStruct, HArray HOT 1
- Tests for replace_input_in_expr HOT 1
- Tests for StructIntf._eq/__ne__ operators HOT 1
- Complete tests for assignments to a cast or slice of registers HOT 1
- Issues with basic example HOT 3
- add_param_asserts breaks examples HOT 5
- assigment semantics unclear HOT 2
- Native Async reset support in RtlNetlist? HOT 4
- Incorrect initialization with Verilog serializer HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hwt.