This website requires JavaScript.
Explore
Help
Sign In
usb-tools
/
amaranth
Watch
1
Star
0
Fork
You've already forked amaranth
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
0b28a97ca0
amaranth
/
nmigen
/
build
/
__init__.py
4 lines
70 B
Python
Raw
Normal View
History
Unescape
Escape
build.{dsl,res,plat}: apply clock constraints to signals, not resources. This adds the Clock() build DSL element, and adds a resource manager function add_clock_constraint() that takes a Pin or a Signal. Note that not all platforms, in particular not any nextpnr platforms at the moment, can add constraints on arbitrary signals. Fixes #86.
2019-06-05 02:48:36 -06:00
from
.
dsl
import
*
build.dsl: replace extras= with Attrs(). This change proved more tricky than expected due to downstream dependencies, so it also includes some secondary refactoring.
2019-06-05 01:02:08 -06:00
from
.
res
import
ResourceError
build.{dsl,res,plat}: apply clock constraints to signals, not resources. This adds the Clock() build DSL element, and adds a resource manager function add_clock_constraint() that takes a Pin or a Signal. Note that not all platforms, in particular not any nextpnr platforms at the moment, can add constraints on arbitrary signals. Fixes #86.
2019-06-05 02:48:36 -06:00
from
.
plat
import
*
Reference in a new issue
Copy permalink