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
/************************************************************************/ | |
/* */ | |
/* PmodOLEDrgb.c -- OLEDrgb Display Driver for Microblaze/Zynq */ | |
/* */ | |
/************************************************************************/ | |
/* Author: Cristian Fatu, Thomas Kappenman */ | |
/* Copyright 2015, Digilent Inc. */ | |
/************************************************************************/ | |
/* | |
This library is free software; you can redistribute it and/or |
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
module bcd ( | |
input [34:0] binary, | |
output reg [3:0] ones, | |
output reg [3:0] tens, | |
output reg [3:0] hundreds, | |
output reg [3:0] thousands, | |
output reg [3:0] tenthousands, | |
output reg [3:0] hundredthousands, | |
output reg [3:0] millions, |
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
live: sim_a sim_a2 | |
post: sim_b sim_b2 | |
old_exclude: sim_q | |
sim_a: normal optimize_a | |
@echo make sim_a | |
# vsim -c opt -coverage -do "run -all; do manual_exclusions.do; \ | |
# coverage report -excluded -adaptive -file exclusion.do;q" | |
# read -n 1 -s -r -p "Change source file then press any key to continue" |
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
`timescale 1ns / 1ps | |
////////////////////////////////////////////////////////////////////////////////// | |
// Company: | |
// Engineer: | |
// | |
// Create Date: 06/14/2018 03:56:38 PM | |
// Design Name: | |
// Module Name: top | |
// Project Name: | |
// Target Devices: |
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
with open('compxlib.log.sam') as infile, open('compile.sh', 'w') as outfile: | |
copy = False | |
getNextLine = 0; | |
for line in infile: | |
copy = False | |
if line.startswith('Executing cmd') == 1: | |
copy = True | |
myTuple = line.partition('\''); | |
myString = myTuple[2] | |
myTuple = myString.partition('\''); |