OpenRISC(1): First run OpenRISC on de0-nano board

Update: this post has been moved to a new home yu.xueming.org

The scope of the OpenRISC project is so extensive that it covers wild range of areas including processor architecture, implementation with register transfer language, simulation tool, synthesis tool, and tool-chain SDK. It is hard to believe the OpenRISC community behind this project has been able to put together the tremendous amount of efforts to successfully implement each single component, creating a valuable, well-performing, but free soft CPU for anyone to use.

Continue at yu.xueming.org

Advertisement

Notes on PHP: Restart apache won’t reset php session

 

To be honest, it is a little odd that PHP session won’t be destroyed after Apache server got restarted. In order to truly kill the PHP session, especially during development, I created a piece of following code, and ran it everything I wanted to have a clean start:


<?php

session_start();
unset($_SESSION['session_name']);
session_destroy();

?>