Git Product home page Git Product logo

Comments (12)

joonwonc avatar joonwonc commented on June 11, 2024 1

coq-8.8 and dsss-18 branches do not have the processor+memory case study so there's nothing to extract to Bluespec code.
The case study is currently not working in Coq 8.8, which is in our future work list, but I'm not sure that will be done shortly.
If you want to check Kami-to-Bluespec conversion, you have to compile in master with Coq 8.6.

from kami.

vmurali avatar vmurali commented on June 11, 2024

from kami.

command-paul avatar command-paul commented on June 11, 2024

I used the 8.8.0 branch for this.

from kami.

vmurali avatar vmurali commented on June 11, 2024

from kami.

command-paul avatar command-paul commented on June 11, 2024

Running into the same issues on the dsss-18 branch.

Missing deps on the sifive version ::
Fatal error: exception Sys_error("../bbv/theories: No such file or directory")

from kami.

vmurali avatar vmurali commented on June 11, 2024

from kami.

command-paul avatar command-paul commented on June 11, 2024

Thanks ! The make ran to completion on sifive/kami :)

from kami.

joonwonc avatar joonwonc commented on June 11, 2024

I double-checked that both coq-8.8 and dsss-18 successfully compile with Coq 8.8.0.
Which version of Coq did you use to compile (e.g., 8.8.x)? (You can check by which coqc)
Even if the issue is closed, your answer would help us maintain the framework :)

from kami.

command-paul avatar command-paul commented on June 11, 2024
commandpaul@battlestation:/scratch/sivkami/Kami$ coqc --version
The Coq Proof Assistant, version 8.8.0 (July 2018)
compiled on Jul 30 2018 18:26:53 with OCaml 4.05.0

from kami.

joonwonc avatar joonwonc commented on June 11, 2024

I'm now pretty sure you didn't try with a clean slate of coq-8.8 or dsss-18.
You got the error in ParametricWf.v@L281 because in master a function is defined as Fixpoint which is actually not a recursive function. Coq 8.8 doesn't allow using the Fixpoint keyword if the function is not recursive.

Could you try to switch the branch to coq-8.8 by doing git checkout coq-8.8, check that the normal Definition keyword is used at ParametricWf.v@L281, and try again to compile?

from kami.

command-paul avatar command-paul commented on June 11, 2024

Your right , Accidentally sneaked in a "-b" while checking out the 8.8 branch ! completely mislead me.
Apologies for the inconvenience of not having thoroughly eliminated that possibility.

Still Running into

ocamlbuild -use-ocamlfind -r Main.native
+ ocamlfind ocamlc -c -o PP.cmo PP.ml
File "PP.ml", line 2, characters 5-11:
Error: Unbound module Target
Command exited with code 2.
Compilation unsuccessful after building 3 targets (2 cached) in 00:00:00.
Makefile:9: recipe for target 'native' failed
make: *** [native] Error 10

while trying to build proc.bsv on both the 8.8 & dsss-18 branches

from kami.

command-paul avatar command-paul commented on June 11, 2024

Thanks !

from kami.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.