Comments (4)
Even stranger:
io_out.adc_pwm_en = (state.cnt.slc<3>(8) == 0);
broken
if(!(io_out.adc_pwm_en)) {
broken
if(!io_out.adc_pwm_en) {
from xls.
Seems to be a ref param issue:
Works:
State aaa(State state) {
uai1 adc_pwm_en = (state.cnt.slc<3>(8) == 0);
if(!adc_pwm_en) {
return 1;
} else {
return 0;
}
return state;
}
Doesn't work:
void aaa(State &state) {
uai1 adc_pwm_en = (state.cnt.slc<3>(8) == 0);
if(!adc_pwm_en) {
return 1;
} else {
return 0;
}
}
from xls.
This has something to do with the ! operator in particular. ~ works fine.
from xls.
Fixed
from xls.
Related Issues (20)
- fuzzer fail
- dslx_fmt should support waivers
- missing codegen_main argument should not trigger internal error
- codegen_main emit empty schedule proto for combinational design
- ModuleGeneratorResult should have signatures for every block HOT 1
- Decompose block conversion into passes
- SIGSEGV when running under JIT
- dslx_fmt adds erroneous commas under certain circumstances
- Scheduling and codegen args are not consistently handled separately
- `emit_as_pipeline` pretty-printer should support blocks with flow control
- Codegen options should be per-proc
- Internal channel names in DSLX should be nameable
- Switch range analysis to using LeafTypeTreeViews
- Support "overhanging combinational delay", e.g. on input parameters to a computation HOT 3
- Support more codegen options under multi-proc codegen
- support for SMT-solving quickcheck tests HOT 1
- interpreter_main comparison fails against JIT
- Fuzz bug observed in CI for //xls/dslx/frontend:scanned_token_to_string_fuzz_test
- GitHub workflows do not need to install bazelisk
- GitHub workflows should use more restrictive bazel cache line HOT 1
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 xls.