chipsalliance / cde Goto Github PK
View Code? Open in Web Editor NEWA Scala library for Context-Dependent Environments
License: Apache License 2.0
A Scala library for Context-Dependent Environments
License: Apache License 2.0
We need to publish CDE to maven, which makes RocketChip and other repository being able to use this without compiling from source, I have added the publish CI infrastructure, beside this we still need to set environments below:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
I can provide my GitHub PGP key for signing and publishing, beside this, SONATYPE_USERNAME
and SONATYPE_PASSWORD
should be provided too, asking @mgielda for help.
How to setup to use this project with freechipsproject/chisel-template?
Hi all. I'm trying to use cde in my project but failed after several days trying to write build.sc based on rocket-chip and sequencer/playground repository and it still cannot compile. Is there any documentation on how to integrate cde in a chisel project (or alternatively a simpler playground project)?
Thanks!
The following assertion fails:
val C1 = new Config((site, here, up) => {
case MyKey1 => 1
case MyKey2 => site(MyKey1)
})
val C2 = new Config((site, here, up) => {
case MyKey1 => 2
case MyKey3 => here(MyKey1)
case MyKey4 => up(MyKey2)
})
val C3 = new Config((site, here, up) => {
case MyKey1 => 3
case MyKey2 => up(MyKey1)
})
assert(C1.alter(C2).alter(C3)(MyKey4) == C1(MyKey1))
Supposedly, (site, here, up)
is updated dynamically; therefore, when query for MyKey4
hits up(MyKey2)
, up
here should be a View
containing C1
only. So the following query about site(MyKey1)
should give C1(MyKey1)
.
Currently, C1.alter(C2).alter(C3)(MyKey4) == C3(MyKey1)
. It seems that site
in the nested environment reference is not updated.
Could you add the target/
folder (in root) to .gitignore?
This folder is created by sbt, and its rather annoying to delete this folder every time I'd like to commit something.
Regards,
Jure
Looking at the build.sc
and github actions configuration, it seems like this library should be deployed to sonatype automatically. The latest CI workflow reports as having published the package successfully. However, I am unable to find the published packages from anywhere. So far I've tried searching from:
There is a match for me.sequencer.cde
on maven central, but that seems to be from 2021. Where can I find the latest package published as org.chipsalliance.cde
?
@hcook
I think the api-config-chipsalliance is a legacy name schema, which has been abandoned, maybe switching to cde
is more reasonable.
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.