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
BLOCK RESETPATHS; | |
BLOCK ASYNCPATHS; | |
LOCATE COMP "serial_tx" SITE "L4"; | |
IOBUF PORT "serial_tx" IO_TYPE=LVCMOS33; | |
LOCATE COMP "serial_rx" SITE "M1"; | |
IOBUF PORT "serial_rx" IO_TYPE=LVCMOS33; | |
LOCATE COMP "clk25" SITE "G2"; | |
IOBUF PORT "clk25" IO_TYPE=LVCMOS33; | |
LOCATE COMP "rst_n" SITE "R1"; | |
IOBUF PORT "rst_n" IO_TYPE=LVCMOS33; |
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
#!/usr/bin/env python3 | |
# | |
# This file is part of LiteICLink. | |
# | |
# Copyright (c) 2019-2020 Florent Kermarrec <[email protected]> | |
# SPDX-License-Identifier: BSD-2-Clause | |
import sys | |
import argparse |
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
from eez import scpi | |
from utime import ticks_ms | |
TIMEOUT = 5000 | |
def init_dlog_message(msg): | |
scpi('DISP:TEXT "Init DLOG ' + msg + '"') | |
def init_y12_and_y13(): | |
init_dlog_message("Y14") |
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
BLOCK RESETPATHS; | |
BLOCK ASYNCPATHS; | |
## ULX3S v2.0 and v2.1 | |
# The clock "usb" and "gpdi" sheet | |
#USE PRIMARY NET "clk_25mhz"; | |
LOCATE COMP "clk_25mhz" SITE "G2"; | |
IOBUF PORT "clk_25mhz" PULLMODE=NONE IO_TYPE=LVCMOS33; | |
FREQUENCY PORT "clk_25mhz" 25.0000 MHz; |
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 top_vgatest_640x480 | |
( | |
input clk_25mhz, | |
// input clk_stm32, | |
// output clk_eth, | |
output [3:0] gpdi_dp, | |
input [7:3] R_in, | |
output [7:3] R_out, | |
input [7:2] G_in, | |
output [7:2] G_out, |
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
/** | |
* Rob 5/16/2019 | |
* Github: Rob4226 | |
* | |
* Basic code using U-blox based GPS module via UART | |
* using HardwareSerial and NeoGPS Arudino library to | |
* parse various NMEA sentences with ESP32 or other boards. | |
* | |
* */ |
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
`timescale 1ns / 1ps | |
////////////////////////////////////////////////////////////////////////////////// | |
// Company: | |
// Engineer: | |
// | |
// Create Date: 06.01.2021 12:44:12 | |
// Design Name: | |
// Module Name: top | |
// Project Name: | |
// Target Devices: |
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
---------------------------------------------------------------------------------- | |
-- Company: | |
-- Engineer: | |
-- | |
-- Create Date: 22:30:37 12/10/2013 | |
-- Design Name: | |
-- Module Name: container - Behavioral | |
-- Project Name: | |
-- Target Devices: | |
-- Tool versions: |
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
---------------------------------------------------------------------------------- | |
-- Company: | |
-- Engineer: | |
-- | |
-- Create Date: 22:30:37 12/10/2013 | |
-- Design Name: | |
-- Module Name: container - Behavioral | |
-- Project Name: | |
-- Target Devices: | |
-- Tool versions: |
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
/* shifts left the '1' over pos times to create a single HIGH bit at location pos. */ | |
#define BIT(pos) ( 1<<(pos) ) | |
/* Set single bit at pos to '1' by generating a mask | |
in the proper bit location and ORing x with the mask. */ | |
#define SET_BIT(x, pos) ( (x) |= (BIT(pos)) ) | |
/* Set single bit at pos to '0' by generating a mask | |
in the proper bit location and ORing x with the mask. */ | |
#define UNSET_BIT(x, pos) ( (x) &= ~(BIT(pos)) ) | |
/* Set single bit at pos to opposite of what is currently is by generating a mask | |
in the proper bit location and ORing x with the mask. */ |