Comments (4)
We'll start with support for signed-ness.
Right now, we're a little bit inconsistent about how we treat signs, so cascade's correctness is all over the place. The big issue is that we're lacking useful invariants in the underlying implementation of Bits. Notably, depending on the operations you perform on a bits, you may inadvertently zero pad the representation of a number, effectively upsetting its sign. Let's start by shoring this up.
from cascade.
This turned into a pretty large edit which involved gutting our dependence on libgmp and rolling our own big int library. All tests are currently passing and we have support for signed integers now with no performance regression (actually a bit of a performance increase). I need to check correctness on the de10 since we don't have automated regression tests there yet. Once that's done, I'll commit back against master.
from cascade.
All tests pass in software and hardware (including new sign tests). Time to make signs official.
from cascade.
Next on the list is support for arrays. I'm going to make this a separate ticket, since I anticipate we'll see more tickets like this soon, and it's nice to keep them from getting too large.
from cascade.
Related Issues (20)
- sockstream.h:114:22: error: variable has incomplete type 'struct sockaddr_in' HOT 1
- Please replace #!/bin/bash with #!/bin/sh HOT 2
- Please make the C++ compiler command that appears in installed shell scripts configurable through a cmake variable HOT 2
- Please do not install .gitignore files
- Please install includes into include/cascade, not src/cascade HOT 3
- Most regression tests fail on FreeBSD HOT 16
- Please do not install tests: share/cascade/test, they should be runnable after build is done HOT 1
- cascade attempts to open globally installed files without prefix HOT 3
- Bison version can be relaxed to 3.0.4 HOT 1
- quartus_server checks Quartus programs that it never uses, and doesn't check ones that it uses
- quartus_server doesn't report socket errors to the user
- Broken link in README: Just-in-Time Compilation for Verilog -- ASPLOS 2019 HOT 1
- Documentation on how to bring up DE10 Nano board? HOT 4
- mmap is called with length=1 but more than 1 bytes is later used, this must be wrong HOT 2
- Warning 'Found reference to unresolvable identifier' in bitcoin/run_25.v HOT 1
- Travis improvements
- [question] -march de10 still runs in CPU HOT 59
- Incorrect assignment to uppercase hex literals
- Setup doesn't work on latest version of MacOS without hacks HOT 1
- This repository is no longer being maintained (see details for new repository)
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 cascade.