Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
module test_assign_test; | |
logic enable; | |
logic amp_up_orig; | |
logic block_up; | |
logic block_up_prev; | |
timeunit 1ns; |
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/env python | |
"""Rewrite history for the current branch if a submodule was recently rebased.""" | |
doc = """Rewrite history for the current branch if a submodule was recently rebased. | |
The Situation | |
============= | |
You have made a series of commits on a feature branch, several of which contain updates to a | |
submodule. As time passes, you realize that you want to rebase yourthis submodule (say, to keep up |
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
import re | |
# ---------------------------------------------------------------- | |
# Define regular expressions | |
# ---------------------------------------------------------------- | |
def group(*choices): return '(' + '|'.join(choices) + ')' | |
def maybe(*choices): return group(*choices) + '?' | |
Binnumber = r'0[bB]_?[01]+(?:_[01]+)*' |
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
;;; init.el -- Main Emacs Initialization File | |
;;; Commentary: | |
;;; This file is loaded first by emacs if '~/.emacs' does not exist. | |
;;; Code: | |
;; Record the current value of 'user-emacs-directory' since we will be | |
;; overriding it later for spacemacs. |
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 functools import partial | |
import io | |
import json | |
import numpy as np | |
def as_numpy(dct): | |
"""JSON decoder for NumPy ndarrays.""" | |
if '__numpy__' in dct: | |
return np.load(io.BytesIO(dct['data'].encode('latin-1'))) | |
return dct |
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
diff --git a/src/timing.h b/src/timing.h | |
index 62f9469..e9eece3 100644 | |
--- a/src/timing.h | |
+++ b/src/timing.h | |
@@ -20,6 +20,7 @@ | |
#ifndef __TIMING_H | |
#define __TIMING_H | |
#include <string> | |
+#include <strings.h> | |
#include <list> |
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
9560c9560,9569 | |
< verilog-library-files)) ; finally, any libraries | |
--- | |
> verilog-library-files ; finally, any libraries | |
> (let ((tramp-host ; also relative to current TRAMP path | |
> (ignore-errors | |
> (tramp-file-name-host | |
> (tramp-dissect-file-name buffer-file-name))))) | |
> (if tramp-host | |
> (mapcar (lambda (fname) |
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
diff --git a/src/mkoctfile.in b/src/mkoctfile.in | |
index 7a9e66f..5b28974 100644 | |
--- a/src/mkoctfile.in | |
+++ b/src/mkoctfile.in | |
@@ -213,6 +213,10 @@ Options: | |
-W... Pass flags to the compiler such as -Wa,OPTION. | |
+ -f..., -m... Pass flags to the compiler, e.g. -ffast-math -march=native | |
+ |
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
diff --git a/Makefile b/Makefile | |
index 649657a..44b8f47 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -193,10 +193,10 @@ pdf: $(ecb_TEXI) | |
install-help: $(ecb_INFO_DIR)/$(ecb_INFO) | |
- @if test -x "$(INSTALLINFO)" -a -f "$(EMACSINFOPATH)/dir"; then\ | |
+ @if test -x "$(INSTALLINFO)"; then\ |
NewerOlder