How to run chisel program

657 views
Skip to first unread message

Sikkandar Badhusha Abdul Salam

unread,
Apr 25, 2017, 12:43:23 PM4/25/17
to chisel-users
Hi all,

I have written some example chisel code and try to run that, I am getting error following errors

sbt run FullAdder.scala

] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:4: not found: object Chisel3
[error] import Chisel3._
[error]        ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:5: not found: object Chisel3
[error] import Chisel3.util._
[error]        ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:7: not found: type Module
[error] class FullAdder extends Module {
[error]                         ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:8: not found: type Bundle
[error]       val io = new Bundle {
[error]                    ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:9: not found: value UInt
[error]       val a  = UInt(INPUT, 1 )
[error]                ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:10: not found: value UInt
[error]       val b  = UInt(INPUT, 1 )
[error]                ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:11: not found: value UInt
[error]       val cin= UInt(INPUT, 1 )
[error]                ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:12: not found: value UInt
[error]       val sum= UInt(OUTPUT, 1 )
[error]                ^
[error] /home/sikkandar/project/chisel_tutorial/chisel_test/FullAdder.scala:13: not found: value UInt
[error]       val cout= UInt(OUTPUT, 1)
[error]                 ^
[error] 9 errors found

Please let me know, how to run the Chisel code.

Thanks
Sikkandar


Lucas Kle

unread,
Apr 25, 2017, 12:58:19 PM4/25/17
to chisel...@googlegroups.com
Hey Sikkandar, 

The Chisel 3 package name is all lowercase.

Lucas

--
You received this message because you are subscribed to the Google Groups "chisel-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chisel-users+unsubscribe@googlegroups.com.
To post to this group, send email to chisel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chisel-users/fa88e59c-ad0f-46db-88ab-c522cfadc6f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sikkandar Badhusha Abdul Salam

unread,
Apr 25, 2017, 6:51:57 PM4/25/17
to chisel-users
Hi Lucas,

i have changed that,but still the same, Am I missings somthing in the install sequence, But I have downloaded the Chisel tutorial, that is going through
only thing, When I create the directory and start doing my examples, I am facing these issues

Thanks
Sikkandar
Hey Sikkandar, 

Lucas

To unsubscribe from this group and stop receiving emails from it, send an email to chisel-users...@googlegroups.com.

Jim Lawson

unread,
Apr 25, 2017, 7:18:59 PM4/25/17
to chisel...@googlegroups.com
Take a look at the chisel-template project. We recommend using it as the starting point for a Chisel project.

To unsubscribe from this group and stop receiving emails from it, send an email to chisel-users+unsubscribe@googlegroups.com.

To post to this group, send email to chisel...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages