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
#include <stdint.h> | |
#include <stdbool.h> | |
// Reg defines, to extract to some header | |
#define REG_VRAMADDR (*((volatile uint16_t *)0x3c0000)) | |
#define REG_VRAMDATA (*((volatile uint16_t *)0x3c0002)) | |
#define REG_VRAMINC (*((volatile uint16_t *)0x3c0004)) | |
#define REG_LSPCMODE (*((volatile uint16_t *)0x3c0006)) |
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
// | |
// ContentView.swift | |
// 2Darrays | |
// | |
// Created by Kelly Lougheed on 12/3/20. | |
// | |
// @drr: Minor changes to replace global variable with @StateObject that can be modified through @Binding | |
import SwiftUI |
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
|==============================================================================| | |
|========= OpenRAM v1.1.6 =========| | |
|========= =========| | |
|========= VLSI Design and Automation Lab =========| | |
|========= Computer Science and Engineering Department =========| | |
|========= University of California Santa Cruz =========| | |
|========= =========| | |
|========= Usage help: openram-user-group@ucsc.edu =========| | |
|========= Development help: openram-dev-group@ucsc.edu =========| | |
|========= Temp dir: /tmp/openram_dan.rodrigues_27828_temp/ =========| |
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
// vdp_affine_layer.v | |
// | |
// Copyright (C) 2020 Dan Rodrigues | |
// | |
// SPDX-License-Identifier: MIT | |
`default_nettype none | |
module vdp_affine_layer #( | |
parameter VRAM_READ_LATENCY = 3 |
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
`default_nettype none | |
module infer_mac_test( | |
input clk, | |
input signed [15:0] pretranslate_x, | |
input signed [15:0] pretranslate_y, | |
input signed [15:0] translate_x, |