mirror of
https://github.com/nasrlol/torque.git
synced 2025-11-27 23:09:21 +01:00
feature: ALU boilerplate
boilerplate classes for stressing the ALU
This commit is contained in:
parent
60fdc2d043
commit
2adbea2fc2
6
src/main/scala/com/nsrddyn/cpu/ALU/ALU.scala
Normal file
6
src/main/scala/com/nsrddyn/cpu/ALU/ALU.scala
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package com.nsrddyn
|
||||||
|
|
||||||
|
class ALU {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
13
src/main/scala/com/nsrddyn/cpu/ALU/Hash.scala
Normal file
13
src/main/scala/com/nsrddyn/cpu/ALU/Hash.scala
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
package com.nsrddyn
|
||||||
|
|
||||||
|
import scala.util.hashing
|
||||||
|
|
||||||
|
class Hash {
|
||||||
|
|
||||||
|
def hashString(): Unit = {
|
||||||
|
|
||||||
|
println("Hello from hash function")
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
5
src/main/scala/com/nsrddyn/cpu/ALU/Prime.scala
Normal file
5
src/main/scala/com/nsrddyn/cpu/ALU/Prime.scala
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package com.nsrddyn
|
||||||
|
|
||||||
|
class Prime {
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user