Search is not available for this dataset
content stringlengths 0 376M |
|---|
<filename>hw/vendor/lowrisc_opentitan/spi_host/Bender.yml
package:
name: lowrisc_spi_host
description: "lowRISC RISC-V Platform Level Interrupt Controller"
authors: ["lowRISC Contributors"]
dependencies:
lowrisc_prim: {path: ../prim}
sources:
# Level 0:
- rtl/spi_host_reg_pkg.sv
# Level 1:
- rtl/spi_host_reg_... |
cryoAsicGen1:
enable: True
ForceWrite: False
InitAfterConfig: False
PollEn: True
dataWriter:
enable: True
DataFile: ''
IsOpen: False
BufferSize: 0
MaxFileSize: 0
EpixHRGen1Cryo:
enable: True
MMCM7Registers:
enable: False
CLKOUT0PhaseMux: 0
CLKOUT0HighTime: 0
... |
<reponame>StanfordAHA/garnet
name: sim-gl-run
parameters:
waveform: False
saif: True
tool: "XCELIUM"
num_glb_tiles: 16
test: "test1.pwr"
commands:
- bash run_sim.sh
outputs:
- run.log
- run.saif
postconditions:
- assert File( 'outputs/run.log' ) # must exist
- assert File( 'outputs/run.saif... |
<gh_stars>0
name: 'test'
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: docker run --rm -tv $(pwd):/src -w /src ghdl/vunit:llvm python3 run.py
# - uses: actions/upload-artifact@master
# with:
# name: <name of the resulting zipfile... |
<reponame>mfkiwl/garnet<filename>mflowgen/common/init-fullchip/configure.yml
#=========================================================================
# Custom Scripts -- init
#=========================================================================
name: init-fullchip
#---------------------------------------------... |
package:
name: pytblink-rpc-hdl
version: 0.0.1
dev-deps:
- name: tblink-rpc-core
url: https://github.com/tblink-rpc/tblink-rpc-core.git
- name: tblink-rpc-hdl
url: https://github.com/tblink-rpc/tblink-rpc-hdl.git
- name: pytblink-rpc
url: https://gi... |
theme: jekyll-theme-dinky
title: AHB-Lite Multi-Layer Switch
description: Parameterised AHB-Lite Multi-layer Interconnect Switch
show_downloads: true
show_license: true
license: Non-Commercial License
github: [metadata]
|
<reponame>yufat48/pulpissimo
tbtools:
flags: [
'skip_synthesis'
]
files: [
dpi_models/dpi_models.sv,
tb_driver/tb_driver.sv,
]
|
---
- import_playbook: actions/datagen_stop_multigrid.yml
- import_playbook: actions/datagen_stop_NMX_overlap.yml
- import_playbook: actions/datagen_stop_multiblade.yml
- import_playbook: actions/datagen_stop_loki.yml
- import_playbook: actions/datagen_stop_dream.yml
- import_playbook: actions/datagen_stop_pktgen.yml
-... |
<reponame>ikwzm/merge_sorter
---
input_file : ../akane/08_merge_sort_node_multi.akd
output_file : 08_merge_sort_node_multi.md
image_url :
"Fig.1 マルチワードマージソートのアーキテクチャ" : "https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/24981/a646223d-c72d-1a84-1f0a-82102ddddab8.jpeg"
"Fig.2 マルチワードマージソートの動作例(1)" : ... |
<reponame>AlSaqr-platform/udma_sdio
package:
name: udma_sdio
authors:
- "<NAME> <<EMAIL>>"
- "<NAME> <<EMAIL>>"
- "<NAME> <<EMAIL>>"
- "<NAME> <<EMAIL>>"
- "<NAME> <<EMAIL>>"
dependencies:
udma_core: { git: "https://github.com/Alsaqr-platform/udma_core.git", version: 2.0.0 }
common_cells: ... |
axi_spi_slave:
files: [
axi_spi_slave.sv,
spi_slave_axi_plug.sv,
spi_slave_cmd_parser.sv,
spi_slave_controller.sv,
spi_slave_dc_fifo.sv,
spi_slave_regs.sv,
spi_slave_rx.sv,
spi_slave_syncro.sv,
spi_slave_tx.sv,
]
|
GitBase: ..
TopRoguePackage: simple_10gbe_rudp_kcu105_example
RoguePackages:
- submodules/surf/python
- python
RogueConfig:
- ../software/config
RogueScripts:
- ../software/scripts/devGui.py
Targets:
Simple10GbeRudpKcu105Example:
ImageDir: targets/Simple10GbeRudpKcu105Example/images
Extensions:
... |
<filename>src_files.yml
cluster_control_unit:
vlog_opts: [
+nowarnSVCHK,
-suppress 2275,
-L hci_lib,
]
files: [
cluster_control_unit/cluster_control_unit.sv,
]
event_unit:
incdirs: [
include,
event_unit/include,
]
files: [
event_unit/event_unit_arbiter.sv,
event_unit/event_... |
jobs:
- job: ArchDebug
displayName: run coverage (archlinux, dbg, g++)
pool:
vmImage: 'Ubuntu 16.04'
steps:
- bash: ./scripts/run-docker-test.sh `pwd` dbg mascucsc/archlinux-masc /root/livehd g++ coverage
- job: ArchLong
displayName: run archlinux-masc with debug and g++ long1 tests
... |
sklearnPkl: example-sklearn-model-files/bdt_eg.pkl
OutputDir: my-hls-test
ProjectName: myproject
XilinxPart: xc7vx690tffg1927-2
ClockPeriod: 5
IOType: io_parallel # options: io_serial/io_parallel
ReuseFactor: 1
DefaultPrecision: ap_fixed<18,8>
|
dummy_test_to_trigger_pulpino_ci:
stage: test
script:
- ci/dummy.csh
trigger_build:
stage: deploy
script:
- "curl -X POST -F token=<KEY> -F ref=master https://iis-git.ee.ethz.ch/api/v4/projects/72/trigger/pipeline"
|
<gh_stars>1-10
name: vga_enh_top
clock_port: wb_clk_i
verilog:
- generic_dpram.v
- generic_spram.v
- timescale.v
- vga_clkgen.v
- vga_colproc.v
- vga_csm_pb.v
- vga_cur_cregs.v
- vga_curproc.v
- vga_defines.v
- vga_enh_top.v
- vga_fifo.v
- vga_fifo_dc.v
- vga_pgen.v
... |
---
project:
description: "VGA sprite generator for the SKY130 Open MPW shuttles."
foundry: "SkyWater"
git_url: "https://github.com/dan-rodrigues/caravel-vdp-lite.git"
organization: "<NAME>"
organization_url: "https://github.com/dan-rodrigues"
owner: "<NAME>"
process: "SKY130"
project_name: "vdp-lite"... |
<reponame>bver/GERET
---
algorithm:
class: Spea2
population_size: 300
max_archive_size: 200
duplicate_elimination: false
shorten_archive_individual: true
probabilities:
crossover: 0.5
mutation: 0.01
injection: 0.9
init:
method: ramped # grow or full or ramped
sensible_depth: 9 ... |
steps:
- label: "test"
command: |
# set up environment
source /cad/modules/tcl/init/bash
module load base xcelium/19.03.003
export DW_TAP=/cad/synopsys/syn/L-2016.03-SP5-5/dw/sim_ver/DW_tap.v
printenv
# create virtual environment
/usr/local/miniconda/bin/python3.7 -m ven... |
timer_unit:
files: [
timer_unit.sv,
timer_unit_counter.sv,
timer_unit_counter_presc.sv,
]
|
# need to change the credentials (xxxxx)
global:
resolve_timeout: 5m
#slack_api_url: "https://cse220-ucsc-fall2020.slack.com/services/XXXXXXXXXXXXXXX"
route:
group_by: ['alertname']
group_wait: 10s
group_interval: 10s
repeat_interval: 10s
receiver: "default"
receivers:
- name: default
email_configs:
... |
<filename>riscv-zig-blink/src/main.zig
const std = @import("std");
const fomu = @import("./fomu.zig");
pub fn panic(message: []const u8, stack_trace: ?*std.builtin.StackTrace) noreturn {
@setCold(true);
fomu.panic(message, stack_trace);
}
fn rgb_init() void {
// Turn on the RGB block and current enable, a... |
<reponame>GingerIndustries/Fibonacci
const std = @import("std");
pub fn main() !void {
const stdout = std.io.getStdOut().writer();
try stdout.print("0\n1\n", .{});
var a: u32 = 1;
try stdout.print("{}\n", .{a});
var b: u32 = 2 * a;
try stdout.print("{}\n", .{b});
while (a < 1000... |
<reponame>MasterQ32/spu-mark-ii
const std = @import("std");
const pcx = @import("pcx.zig");
const argsParser = @import("args");
pub fn main() !u8 {
const cli_args = argsParser.parseForCurrentProcess(struct {
help: bool = false,
output: ?[]const u8 = null,
pub const shorthands = .{
... |
// 11 lines 5 code 3 comments 3 blanks
/// Documentation comment
pub fn main() void {
const a = 5; // not-counted
// Leading-comment
const b = c"line comment embedded //";
const c = \\line comment embedded // //
}
|
//! this is a top level doc, starts with "//!"
const std = @import("std");
pub fn main() anyerror!void {
const stdout = std.io.getStdOut().writer();
try stdout.print("Hello, {}!\n", .{"world"});
}
const expect = std.testing.expect;
test "comments" {
// comments start with "//" until newline
// foo b... |
const std = @import("std");
const lpc1768 = @import("lpc1768");
const ISRHandler = fn () callconv(.C) void;
const start_of_ram = 0x10000000;
const stack_size = 0x2000;
const initial_sp = start_of_ram + stack_size;
var mutable_vector_table: @TypeOf(fixed_vector_table) = undefined;
extern var __bss__start: c_void;
ex... |
const std = @import("std");
const zpm = @import(".zpm/pkgs.zig");
const packages = zpm.pkgs;
const examples = [_][]const u8{
// "apps/hello-world/main",
// "apps/ascii-printer/main",
};
pub fn addTest(b: *std.build.Builder, global_step: *std.build.Step, comptime tool_name: []const u8, src: []const u8) *std.b... |
<gh_stars>10-100
const std = @import("std");
/// rgb color tuple with 8 bit color values.
pub const RGB = packed struct {
r: u8,
g: u8,
b: u8,
};
pub const Header = packed struct {
id: u8 = 0x0A,
version: u8,
compression: u8,
bpp: u8,
xmin: u16,
ymin: u16,
xmax: u16,
ymax: ... |
/// https://rm.fomu.im/touch.html
pub const TOUCH = struct {
const base = 0xe0005800;
/// Output values for pads 1-4
pub const TOUCH_O = @intToPtr(*volatile u4, base + 0x0);
/// Output enable control for pads 1-4
pub const TOUCH_OE = @intToPtr(*volatile u4, base + 0x4);
/// Input value for pa... |
<filename>.zpm/pkgs.zig<gh_stars>10-100
const std = @import("std");
fn pkgRoot() []const u8 {
return std.fs.path.dirname(@src().file) orelse ".";
}
pub const pkgs = struct {
pub const ihex = std.build.Pkg{
.name = "ihex",
.path = .{ .path = pkgRoot() ++ "/../.zpm/../tools/modules/zig-ihex/ihex... |
const std = @import("std");
const argsParser = @import("args");
const ihex = @import("ihex");
const spu = @import("spu-mk2");
const Instruction = spu.Instruction;
const FileFormat = enum { ihex, binary };
pub fn main() !u8 {
const cli_args = argsParser.parseForCurrentProcess(struct {
help: bool = false,... |
<reponame>MasterQ32/spu-mark-ii
const std = @import("std");
const mnemonics = @import("../assembler/mnemonics.zig");
pub fn main() !void {
const stdout = std.io.getStdOut().writer();
var items = mnemonics.mnemonics;
std.sort.sort(mnemonics.Mnemonic, &items, {}, lt);
try stdout.writeAll("module.expo... |
<reponame>btashton/pygments<filename>tests/examplefiles/example.zig<gh_stars>100-1000
const std = @import("std");
const Allocator = mem.Allocator;
const mem = std.mem;
const ast = std.zig.ast;
const Visib = @import("visib.zig").Visib;
const event = std.event;
const Value = @import("value.zig").Value;
const Token = std.... |
<reponame>MasterQ32/spu-mark-ii
const std = @import("std");
const argsParser = @import("args");
const ihex = @import("ihex");
extern fn configure_serial(fd: c_int) u8;
extern fn flush_serial(fd: c_int) void;
pub fn main() anyerror!u8 {
const cli_args = argsParser.parseForCurrentProcess(struct {
// This d... |
<filename>mt9x9.zig
// 9x9 multiplication table in Zig
// CC0, <NAME> <<EMAIL>>, 2021.
// zig build-exe mt9x9.zig && ./mt9x9 || zig run mt9x9.zig
const std = @import("std");
pub fn main() !void {
var i: u8 = 1;
while (i < 10) : (i += 3) {
var j: u8 = 1;
while (j < 10) : (j += 1) {
f... |
const std = @import("std");
pub const DebugInterface = struct {
const Self = @This();
pub const TraceError = error{DebugBreak};
traceInstructionFn: fn (self: *Self, ip: u16, instruction: Instruction, input0: u16, input1: u16, output: u16) void,
traceAddressFn: fn (self: *Self, virt: u16) TraceError!v... |
const std = @import("std");
const lpc = @import("lpc1768");
const F_CPU = 100_000_000;
comptime {
// Provides the initialization routines
_ = @import("boot.zig");
}
const LED1 = GPIO(1, 18);
const LED2 = GPIO(1, 20);
const LED3 = GPIO(1, 21);
const LED4 = GPIO(1, 23);
const SD_SELECT = GPIO(0, 16); // DIP14
... |
const std = @import("std");
pub fn build(b: *std.build.Builder) void {
const exe = b.addExecutable("async-lpc", "src/main.zig");
exe.addPackage(std.build.Pkg{
.name = "lpc1768",
.path = "libs/lpc1768/lpc1768.zig",
});
exe.setTarget(std.zig.CrossTarget{
.cpu_arch = .thumb,
... |
const std = @import("std");
const builtin = @import("builtin");
const argsParser = @import("args");
const ihex = @import("ihex");
const spu = @import("spu-mk2");
const common = @import("shared.zig");
extern "kernel32" fn SetConsoleMode(hConsoleHandle: std.os.windows.HANDLE, dwMode: std.os.windows.DWORD) callconv(.Stdc... |
const std = @import("std");
const argsParser = @import("args");
const ihex = @import("ihex");
const spu = @import("spu-mk2");
const FileFormat = enum { ihex, binary };
const DisasmError = error{EndOfStream} || std.os.WriteError || std.io.FixedBufferStream([]const u8).ReadError;
fn processRecord(out: *const std.io.Wr... |
<filename>tools/emulator/web-main.zig
const std = @import("std");
const spu = @import("spu-mk2");
const common = @import("shared.zig");
var emulator: spu.SpuMk2(common.WasmDemoMachine) = undefined;
const bootrom = @embedFile("../../zig-out/firmware/wasm.bin");
pub fn dumpState(emu: *spu.SpuMk2) !void {
_ = emu;... |
const root = @import("root");
const std = @import("std");
extern var _ftext: u8;
extern var _etext: u8;
extern var _frodata: u8 align(4);
extern var _erodata: u8 align(4);
extern var _fdata: u8 align(4);
extern var _gp: u8 align(16);
extern var _edata: u8 align(16);
extern var _fbss: u8 align(4);
extern var _ebss: u8 ... |
/// https://rm.fomu.im/reboot.html
pub const REBOOT = struct {
const base = 0xe0006000;
/// Provides support for rebooting the FPGA.
/// You can select which of the four images to reboot to.
pub const CTRL = @intToPtr(*volatile packed struct {
/// Which image to reboot to. SB_WARMBOOT supports ... |
<reponame>Freax13/fomu-workshop<gh_stars>100-1000
/// Provides a generic Timer core.
///
/// The Timer is implemented as a countdown timer that can be used in various modes:
/// - Polling: Returns current countdown value to software.
/// - One-Shot: Loads itself and stops when value reaches 0.
/// - Periodic: (Re-)L... |
const std = @import("std");
const io = std.io;
const mem = std.mem;
pub fn main() %void {
var stdout = try io.getStdOut();
try stdout.write(source);
var lines = mem.split(source, "\n");
var line: ?[]const u8 = lines.next();
while (line != null) {
try stdout.write("\n \\\\");
try stdout.... |
/// Messible: An Ansible for Messages
/// https://rm.fomu.im/messible.html
///
/// An Ansible is a system for instant communication across vast distances,
/// from a small portable device to a huge terminal far away. A Messible is
/// a message- passing system from embedded devices to a host system. You can
/// use it ... |
const std = @import("std");
const spu = @import("spu-mk2");
const SerialEmulator = @import("root").SerialEmulator;
pub const WasmDemoMachine = struct {
const Self = @This();
memory: [65536]u8 = undefined, // lower half is ROM, upper half is RAM
pub const LoaderError = error{InvalidAddress};
pub fn l... |
const debug = @import("std").debug;
pub fn main() void {
while (true) debug.warn("a", .{});
}
|
<gh_stars>10-100
// Result from translate-c:
const std = @import("std");
test "" {
std.meta.refAllDecls(@This());
}
pub inline fn __enable_irq() void {
asm volatile ("cpsie i");
}
pub inline fn __disable_irq() void {
asm volatile ("cpsid i");
}
pub inline fn __enable_fault_irq() void {
asm volatile ("... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.