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
package mylib | |
import spinal.core._ | |
import spinal.lib._ | |
import spinal.core.sim._ | |
import spinal.lib.sim._ | |
import scala.util.Random | |
class StreamTransactionExtender2[T <: Data, T2 <: Data](dataType: HardType[T], | |
outDataType: HardType[T2], |
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
package mylib | |
import spinal.core._ | |
import spinal.lib._ | |
import spinal.core.sim._ | |
import spinal.lib.sim._ | |
import scala.util.Random | |
/* Extend one input transfer into serveral outputs, io.count represent delivering output (count + 1) times. */ | |
class StreamTransactionExtender2[T <: Data, T2 <: Data](dataType: HardType[T], |
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
;; see line 19-24 | |
(defun package-menu--find-upgrades () | |
(let (installed available upgrades) | |
;; Build list of installed/available packages in this buffer. | |
(dolist (entry tabulated-list-entries) | |
;; ENTRY is (PKG-DESC [NAME VERSION STATUS DOC]) | |
(let ((pkg-desc (car entry)) | |
(status (aref (cadr entry) 2))) | |
(cond ((member status '("installed" "unsigned")) | |
(push pkg-desc installed)) |
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
# Copyright (c) 2011 Joshua D. Bartlett | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |