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
-- Example to check that each request has to be acked before next request | |
-- VHDL glue logic | |
process (clk) is | |
begin | |
if rising_edge(clk) then | |
if (not rst_n) then | |
req_active <= '0'; | |
elsif (req) then | |
req_active <= '1'; |
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
FROM debian:buster-slim AS build | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y \ | |
build-essential \ | |
clang \ | |
bison \ | |
flex \ | |
libreadline-dev \ |
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
library ieee; | |
use ieee.std_logic_1164.all; | |
use ieee.numeric_std.all; | |
library std; | |
use std.env.all; | |
entity psl_test_endpoint is |
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
#!/usr/local/bin/python3 | |
# -*- coding: utf-8 -*- | |
import os | |
import stat | |
import re | |
import argparse | |
parser = argparse.ArgumentParser() |
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
def closure(): | |
container = 0 | |
def inc(): | |
nonlocal container | |
container += 1 | |
def get(): | |
return container | |
def dec(): | |
nonlocal container | |
container -= 1 |
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
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import xml.dom.minidom as DOM | |
class SpeisePlan: | |
'''Class for parsing and extracting the meal data for each day of a week | |
lying in a given HTML file''' |
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
library ieee; | |
use ieee.std_logic_1164.all; | |
use ieee.numeric_std.all; | |
use std.env.all; | |
library OSVVM; | |
use OSVVM.RandomPkg.all; | |
use OSVVM.CoveragePkg.all; |
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 <stdio.h> | |
#include <bcm2835.h> | |
// pin defines | |
#define LCD_CS 24 | |
#define LCD_RST 23 | |
#define LCD_A0 22 | |
#define LCD_CLK 27 | |
#define LCD_SI 17 |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<title>raspiweb</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
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
// variable to en-/disable debug | |
// set to 1 to enable debug log | |
if (DEBUG === undefined) { | |
var DEBUG; | |
} | |
var gcf = { |
NewerOlder