This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ULX3S: programming it works, though not yet figured out SPI flash.
- Loading branch information
Showing
7 changed files
with
58 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
package ee.hrzn.chryse.platform.ecp5 | ||
|
||
import ee.hrzn.chryse.platform.resource.Pin | ||
import ee.hrzn.chryse.platform.resource.PinPlatform | ||
import chisel3._ | ||
import chisel3.experimental.ExtModule | ||
|
||
import scala.language.implicitConversions | ||
|
||
object USRMCLK { | ||
implicit def usrmclk2Pin(usrmclk: this.type): Pin = | ||
PinPlatform(this) | ||
class USRMCLK extends ExtModule { | ||
val USRMCLKI = IO(Input(Clock())) | ||
val USRMCLKTS = IO(Input(Bool())) | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/scala/ee/hrzn/chryse/platform/ecp5/USRMCLKPin.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package ee.hrzn.chryse.platform.ecp5 | ||
|
||
import ee.hrzn.chryse.platform.resource.Pin | ||
import ee.hrzn.chryse.platform.resource.PinPlatform | ||
|
||
import scala.language.implicitConversions | ||
|
||
object USRMCLKPin { | ||
implicit def usrmclk2Pin(usrmclk: this.type): Pin = | ||
PinPlatform(this) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters