This file contains hidden or 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
Version 4 | |
SHEET 1 1172 852 | |
WIRE 144 80 0 80 | |
WIRE 256 80 144 80 | |
WIRE 368 80 256 80 | |
WIRE 480 80 368 80 | |
WIRE 592 80 480 80 | |
WIRE 0 128 0 80 | |
WIRE 144 144 144 80 | |
WIRE 480 144 480 80 |
This file contains hidden or 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
// Credits : https://github.com/YosysHQ/yosys-bigsim/blob/master/openmsp430/rtl/omsp_clock_gate.v | |
module clock_gate ( | |
// OUTPUTs | |
gclk, // Gated clock | |
// INPUTs | |
clk, // Clock | |
enable_in // Clock enable |
This file contains hidden or 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
[tasks] | |
proof | |
cover | |
[options] | |
proof: mode prove | |
proof: depth 50 | |
cover: mode cover | |
cover: depth 30 |
This file contains hidden or 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
* modified for use with LTSpice; DM 8/19/2008 | |
* | |
* 0.18u CMOS process | |
* | |
* NMOS transistor model name: NM | |
* PMOS transistor model name: PM | |
*----------------------------------------------------------------------- | |
.subckt NM D G S B |
This file contains hidden or 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
* modified for use with LTSpice; DM 8/19/2008 | |
* | |
* 0.18u CMOS process | |
* | |
* NMOS transistor model name: NM | |
* PMOS transistor model name: PM | |
*----------------------------------------------------------------------- | |
.subckt NM D G S B |
This file contains hidden or 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
module NoC | |
#( | |
`ifdef FORMAL | |
parameter NUM_OF_NODES=8, | |
parameter FLIT_DATA_WIDTH=8, | |
parameter NODE_BUFFER_WIDTH=16, | |
`else | |
parameter NUM_OF_NODES=8, | |
parameter FLIT_DATA_WIDTH=16, | |
parameter NODE_BUFFER_WIDTH=32, // a single vc buffer can hold 2 flits at one time |
This file contains hidden or 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
[tasks] | |
proof | |
cover | |
[options] | |
proof: mode prove | |
proof: depth 5 | |
cover: mode cover | |
cover: depth 20 |
This file contains hidden or 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
v 20130925 2 | |
C 40000 40000 0 0 0 title-B.sym | |
C 50000 46900 1 0 0 asic-pmos-1.sym | |
{ | |
T 51400 47700 5 8 0 0 0 0 1 | |
device=PMOS_TRANSISTOR | |
T 50900 47700 5 10 1 1 0 0 1 | |
refdes=M2 | |
T 50900 47500 5 8 1 1 0 0 1 | |
model-name=P1 |
This file contains hidden or 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
//////////////////////////////////////////////////////////////////////////////// | |
// | |
// Filename: bimpy | |
// | |
// Project: A multiply core generator | |
// | |
// Purpose: An unsigned 2-bit multiply based upon the fact that LUT's allow | |
// 6-bits of input, but a 2x2 bit multiply will never carry more | |
// than one bit. While this multiply is hardware independent, it is | |
// really motivated by trying to optimize for a specific piece of |
This file contains hidden or 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
/* | |
* Filename: circ_ring.h | |
* Version: 1.0 | |
* Description: A circular buffer using API from | |
* https://github.com/torvalds/linux/blob/master/include/linux/ptr_ring.h | |
*/ | |
// enables https://github.com/torvalds/linux/blob/master/include/linux/ptr_ring.h#L24-L32 | |
#define __KERNEL__ 1 |